Auto merge of #2019 - phi-gamma:dot-path-fix, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 4 Oct 2015 18:42:08 +0000 (18:42 +0000)
committerbors <bors@rust-lang.org>
Sun, 4 Oct 2015 18:42:08 +0000 (18:42 +0000)
commit61952eba7e54cd60f5306cc0d8adc537adc66a3f
tree14eba687ac480ff49504d2ab653abb57701f551b
parent7f21e73fd951de9bf7fc6b62736d0fc4fce81928
parent7d94831fe638ac047d678b40860517138d34e151
Auto merge of #2019 - phi-gamma:dot-path-fix, r=alexcrichton

When traversing the directory tree, cargo will omit paths that start
with a period character to avoid interfering with other software.
Unfortunately this also prevents a crate from being located in a
directory prefixed with a period. Address this by extending the test
against the traversal root that already guards Git submodules.

Fixes issue #1999 which was introduced with commit 11144645f..